package com.cosmoplat.xikai.business.domain.dto.scada;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class FaultConfigurationDto {

    @ApiModelProperty(value = "故障代码", example = "EW000008")
    private String faultCode;
    @ApiModelProperty(value = "故障名称", example = "EW000008")
    private String faultName;
    @ApiModelProperty(value = "开始时间", example = "2025-01-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(value = "结束时间", example = "2025-01-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

}
